package com.java1234.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.java1234.entity.SignRecord;
import com.java1234.mapper.SignRecordMapper;
import com.java1234.service.SignRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

import java.time.LocalDate;

/**
 * <p>
 * 签到记录表 服务实现类
 * </p>
 *
 * @author zhai
 * @since 2025-05-10
 */
@Service
public class SignRecordServiceImpl extends ServiceImpl<SignRecordMapper, SignRecord> implements SignRecordService {
    @Override
    public boolean checkTodaySigned(Long userId) {
        return this.baseMapper.checkTodaySigned(userId);
    }
}
